//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04A
TN_Widget.CreateTable([['Kurt Vile and The Violators','The Heights','Houston, TX','Monday','4/29/2024','8:00 PM','6304453','Kurt-Vile-and-The-Violators-4-29-2024'],['Kurt Vile and The Violators','Cine El Rey','Mcallen, TX','Tuesday','4/30/2024','7:00 PM','6304454','Kurt-Vile-and-The-Violators-4-30-2024'],['Kurt Vile','The Kessler','Dallas, TX','Thursday','5/2/2024','7:00 PM','6271787','Kurt-Vile-5-2-2024'],['Kurt Vile and The Violators','Fondren Yard','Jackson, MS','Saturday','5/4/2024','7:00 PM','6304569','Kurt-Vile-and-The-Violators-5-4-2024'],['Kurt Vile and The Violators','Chelsea's Live','Baton Rouge, LA','Sunday','5/5/2024','7:00 PM','6304457','Kurt-Vile-and-The-Violators-5-5-2024'],['Kurt Vile and The Violators','The Beacham','Orlando, FL','Tuesday','5/7/2024','7:00 PM','6252110','Kurt-Vile-and-The-Violators-5-7-2024'],['Kurt Vile and The Violators','Jannus Live','St. Petersburg, FL','Wednesday','5/8/2024','8:00 PM','6258762','Kurt-Vile-and-The-Violators-5-8-2024'],['Kurt Vile and The Violators','The National - VA','Richmond, VA','Saturday','5/11/2024','8:00 PM','6256592','Kurt-Vile-and-The-Violators-5-11-2024'],['Kurt Vile and The Violators','The Capitol Room At Harrisburg Midtown Arts Center','Harrisburg, PA','Monday','6/17/2024','8:00 PM','6304459','Kurt-Vile-and-The-Violators-6-17-2024'],['Kurt Vile and The Violators','The Queen - Wilmington','Wilmington, DE','Tuesday','6/18/2024','8:00 PM','6304460','Kurt-Vile-and-The-Violators-6-18-2024'],['Kurt Vile','Anchor Rock Club','Atlantic City, NJ','Thursday','6/20/2024','8:00 PM','6308795','Kurt-Vile-6-20-2024'],['Kurt Vile and The Violators','Neighborhood Theatre','Charlotte, NC','Saturday','6/22/2024','8:00 PM','6304461','Kurt-Vile-and-The-Violators-6-22-2024'],['Kurt Vile and The Violators','Taft Theatre','Cincinnati, OH','Sunday','6/23/2024','8:00 PM','6304462','Kurt-Vile-and-The-Violators-6-23-2024'],['Kurt Vile and The Violators','Evanston Space','Evanston, IL','Tuesday','6/25/2024','8:00 PM','6304463','Kurt-Vile-and-The-Violators-6-25-2024'],['Kurt Vile and The Violators','The Pageant','St. Louis, MO','Wednesday','6/26/2024','8:00 PM','6304464','Kurt-Vile-and-The-Violators-6-26-2024'],['Kurt Vile and The Violators','Bell's Back Room','Kalamazoo, MI','Thursday','6/27/2024','8:00 PM','6304465','Kurt-Vile-and-The-Violators-6-27-2024'],['Kurt Vile and The Violators','Danforth Music Hall Theatre','Toronto, Canada','Friday','6/28/2024','7:00 PM','6304466','Kurt-Vile-and-The-Violators-6-28-2024'],['Kurt Vile and The Violators','MTelus','Montreal, Canada','Saturday','6/29/2024','7:30 PM','6336416','Kurt-Vile-and-The-Violators-6-29-2024'],['Kurt Vile and The Violators','District Music Hall','Norwalk, CT','Sunday','6/30/2024','8:00 PM','6303091','Kurt-Vile-and-The-Violators-6-30-2024'],['Nelsonville Music Festival: Lucinda Williams, Kurt Vile and The Violators - 3 Day Pass','Snow Fork Event Center','Nelsonville, OH','Friday','7/26/2024','TBD','6066960','Nelsonville-Music-Festival--Lucinda-Williams--Kurt-Vile-and-The-Violators---3-Day-Pass-7-26-2024'],['Kurt Vile and The Violators','Levitt Pavilion Denver','Denver, CO','Thursday','8/29/2024','7:00 PM','6339725','Kurt-Vile-and-The-Violators-8-29-2024'],['Kurt Vile and The Violators','The Norva','Norfolk, VA','Tuesday','4/26/2072','7:30 PM','5038949','Kurt-Vile-and-The-Violators-4-26-2072']],'Kurt Vile','http://www.ticketnetwork.com/ticket/Kurt-Vile-events.aspx');